Data Prefetching: A Cost/Performance Analysis
نویسنده
چکیده
This paper attempts to answer the question, “To what extent is prefetching effective in hiding memory latency, and what is the minimal amount of hardware required to support prefetching?” We begin by providing a classification of the different kinds of prefetching, and reconciling the various common performance metrics to allow fair comparisons. We then put forward an analytical model that gives the potential speedup with prefetching. We next detail the non-binding software prefetch technique and examine its performance, both with hand-inserted and compiler-inserted prefetches. We consider an elaborate hardware scheme meant to replace the software schemes entirely; then look at more reasonable schemes requiring only minimal extra hardware, and assess how much they add to the simple software prefetching model. We conclude with recommendations for CPU/cache architects.
منابع مشابه
A Cost-Bene t Scheme for High Performance Predictive Prefetching
High-performance computing systems will increasingly rely on prefetching data from disk to overcome long disk access times and maintain high utilization of parallel I/O systems. This paper evaluates a prefetching technique that chooses which blocks to prefetch based on their probability of access and decides whether to prefetch a particular block at a given time using a cost-beneet analysis. Th...
متن کاملPrefetching Without Hints: A Cost-Bene t Analysis for Predicted Accesses
Prefetching disk blocks to main memory will become increasingly important to overcome the widening gap between disk access times and processor speeds. We present a prefetching scheme that chooses which blocks to prefetch based on their probability of access and decides whether to prefetch a particular block at a given time using a cost-beneet analysis. To calculate the probability of access of ...
متن کاملHardware Prefetching in Bus-Based Multiprocessors: Pattern Characterization and Cost-Effective Hardware
Data prefetching has been widely studied as a technique to hide memory access latency in multiprocessors. Most recent research on hardware prefetching focuses either on uniprocessors, or on distributed shared memory (DSM) and other non bus-based organizations. However, in the context of bus-based SMPs, prefetching poses a number of problems related to the lack of scalability and limited bus ban...
متن کاملReducing Seek Overhead with Application-Directed Prefetching
An analysis of performance characteristics of modern disks finds that prefetching can improve the performance of nonsequential read access patterns by an order of magnitude or more, far more than demonstrated by prior work. Using this analysis, we design prefetching algorithms that make effective use of primary memory, and can sometimes gain additional speedups by reading unneeded data. We show...
متن کاملOptimal Model of Web Caching and Prefetching
Optimal Model of Web Caching and Prefetching Lei Shi , Yan Zhang , and Wei Lin 3 1 School of Information Engineering.Zhengzhou University,Zhengzhou,China Email: [email protected] 2 Henan PolyTechnic College,Zhengzhou,China Email: [email protected] School of Software, Zhengzhou University [email protected] Abstract—Caching and prefetching play important roles in improving the quality of data...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993